package com.gopay.common.cps.manager.order;

import java.io.Serializable;
import java.util.List;

import com.gopay.common.base.manager.BaseManager;
import com.gopay.common.domain.cps.CpsGenMainOrder;
import com.gopay.common.domain.cps.vo.FullCpsGenManageOrder;

/**
 * 付款类订单manager
 * 
 * 管理类订单，（父子表）
 * 
 * @FullCpsGenManageOrderManager.java
 * @author MA HUAN
 * @2013-1-7 下午5:34:05 www.gopay.com.cn Inc.All rights reserved.
 */
public interface FullCpsGenManageOrderQueryManager extends BaseManager<FullCpsGenManageOrder, Serializable> {

    /**
     * 通过关联订单号查询订单
     * 
     * @param relevanceGopayOrderId
     * @return
     */
    FullCpsGenManageOrder findByRelevanceGopayOrderId(String relevanceGopayOrderId);
    
    /**
     * 云账户冻结 解冻查询关联订单号
     * @param relevanceGopayOutOrderId
     * @return
     */
    public List<FullCpsGenManageOrder> findByRelevanceGopayOrderIds(String relevanceGopayOutOrderId);
    
}
